
import BaseService from '@/api/BaseService'
class PartyService extends BaseService {
  getPartyNv (commonInfo, partyId, callback = () => {}) {
    const data = {
      commonInfo: commonInfo,
      value: partyId
    }
    return this.remoteCall('/party/getPartyNv', data, callback)
  }

  savePartyNvs(commonInfo, partyNvs, callback = () => {}) {
    const data = {
      commonInfo: commonInfo,
      value: partyNvs
    }
    return this.remoteCall('/party/savePartyNvs', data, callback)
  }
}

const partyService = new PartyService(false)
export default partyService
